package ${domain}.module.wsys.req;

import ${domain}.frame.base.BaseFindRequest;
import ${domain}.frame.validation.Select;

/**
 * TaskSqlFindRequest - SQL任务查询
 *
 * @author author
 * @version 0.0.1
 * @since 2020-05-24
 */
public class ScheduleFindRequest extends BaseFindRequest {

    /**
     * 任务ID
     */
    private String taskId;

    /**
     * 任务名称
     */
    private String taskName;

    /**
     * 详细注释
     */
    private String taskNote;

    /**
     * 任务类型.
     * Cron:Cron表达式
     * DelayRepeat:间隔重复(秒)
     * FixRepeat:绝对重复(秒)
     */
    @Select({"Cron", "DelayRepeat", "FixRepeat"})
    private String taskType;

    /**
     * 是否有效
     */
    private Boolean run;

    public String getTaskId() {
        return taskId;
    }

    public void setTaskId(String taskId) {
        this.taskId = taskId;
    }

    public String getTaskName() {
        return this.taskName;
    }

    public void setTaskName(String taskName) {
        this.taskName = taskName;
    }

    public String getTaskNote() {
        return this.taskNote;
    }

    public void setTaskNote(String taskNote) {
        this.taskNote = taskNote;
    }

    public String getTaskType() {
        return this.taskType;
    }

    public void setTaskType(String taskType) {
        this.taskType = taskType;
    }

    public Boolean getRun() {
        return run;
    }

    public void setRun(Boolean run) {
        this.run = run;
    }
}
